package com.cxl.controller;

import com.cxl.fegin.RibboFegin;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: 20971
 * @time: 2022/2/23 22:22
 * @description:
 */
@Slf4j
@RestController
@RequestMapping(value = "/ribbo")
public class RibboController {

    @Autowired
    private RibboFegin ribboFegin;

    @GetMapping(value = "/list")
    public void list() {
        for (int i = 0; i < 100; i++) {
            String list = ribboFegin.list();
            log.info(list);
        }
    }
}
